﻿@model GameCode.Models.Admin.PushModel
@{
    ViewBag.Title = "游戏特权 - 推送管理";
    Model.Caption = "推送管理";
    Model.NewLink = "/Admin/PushEdit";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
@using (Html.BeginForm(new { act = "submit" }))
{
    var grid = new WebGrid(source: Model.List, rowsPerPage: 30);
    @grid.GetHtml(
        htmlAttributes: new { cellpadding = "0", cellspacing = "0" },
        headerStyle: "ui-li ui-li-divider ui-btn ui-bar-a ui-btn-hover-undefined ui-btn-up-undefined",
    columns: grid.Columns
        (
            grid.Column("Title", "标题"),
            grid.Column("Content", "推送内容"),
            grid.Column("DateTime", "发布时间")
        )
    )
}